<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Monitores.aspx.cs" Inherits="MonitorTemperatura.View.Configuracion.Monitores" %>
<%@ Register Src="../Controles/WebUserControlHeader.ascx" TagName="WebUserControlHeader"
    TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Monitores</title>
    <link href="../styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <uc1:WebUserControlHeader ID="WebUserControlHeader1" runat="server" />
      <table  width="100%" border=1 cellpadding =0 cellspacing=0>
   <tr>
   <td colspan = 2 style=" width:200px; height: 21px;">Catalogo Monitores</td>   
   </tr>  
   <tr>
   <td colspan = "2" style="height:100%">
       <asp:GridView ID="MonitoresGridView" runat="server" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None" OnRowCommand="MonitoresGridView_RowCommand" OnSelectedIndexChanging="MonitoresGridView_SelectedIndexChanging">
           <Columns>
               <asp:BoundField DataField="IdUbicacion" HeaderText="IdUbicaci&#243;n" ReadOnly="True" />
               <asp:TemplateField HeaderText="Descripci&#243;n">
                   <EditItemTemplate>
                       <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Descripcion") %>'></asp:TextBox>
                   </EditItemTemplate>
                   <ItemTemplate>
                       <asp:Label ID="Label1" runat="server" Text='<%# Bind("Descripcion") %>'></asp:Label>
                   </ItemTemplate>
               </asp:TemplateField>
               <asp:TemplateField HeaderText="Estado">
                   <EditItemTemplate>
                       <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("Estado") %>'></asp:TextBox>
                   </EditItemTemplate>
                   <ItemTemplate>
                       <asp:Label ID="Label2" runat="server" Text='<%# Bind("Estado") %>'></asp:Label>
                   </ItemTemplate>
               </asp:TemplateField>
               <asp:TemplateField HeaderText="Lecturas" ShowHeader="False">
                   <ItemTemplate>
                       <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="false" CommandArgument='<%# Bind("IdUbicacion") %>' CommandName="Lecturas"
                           Text="Lecturas"></asp:LinkButton>
                   </ItemTemplate>
                   <ItemStyle Font-Bold="True" ForeColor="Blue" HorizontalAlign="Center" />
               </asp:TemplateField>
           </Columns>
           <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
           <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
           <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
           <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
           <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
           <EditRowStyle BackColor="#999999" />
           <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
           <EmptyDataTemplate>
               No hay Lectores
           </EmptyDataTemplate>
       </asp:GridView>
   </td>
   </tr>
   <tr><td colspan="2">
       &nbsp;</td>
   </tr>
   </table>
   
    </form>
</body>
</html>
